﻿#pragma once
#define Image_Province_BG					1	// 底图
#define Button_Province_Cancel				2	// 取消
#define Button_Province_Capitals			3	// 首府图

#define Static_Province_CountName			11	// 标题 伯爵领名字
#define Static_Province_DeJureDuke			12	// 法理公爵
#define Static_Province_DeJureKing			13	// 法理王国
#define Static_Province_CultrueKey			14	// 文化Key
#define Static_Province_CultrueValue		15	// 文化Value
#define Static_Province_ReligionKey			16	// 宗教Key
#define Static_Province_ReligionValue		17	// 宗教Value
#define Static_Province_SupplyKey			18	// 补给Key
#define Static_Province_SupplyValue			19	// 补给Value
#define Static_Province_RebelKey			20	// 叛乱Key
#define Static_Province_RebelValue			21	// 叛乱Value

struct _stProvinceInfo;

class GuiProvince : public CDXUTDialog
{
public:
	GuiProvince() = default;
	~GuiProvince() = default;

	void SetChooseProvincePtr(_stProvinceInfo* p);
	void OnShow();
	void RefreshUI();
	void OnEvent(UINT nEvent, int nControlID, CDXUTControl* pControl);
private:
	_stProvinceInfo* m_pProvinceChoose = nullptr;

	CDXUTStatic* m_pStatic_CountName = nullptr;
	CDXUTStatic* m_pStatic_DeJureDuke = nullptr;
	CDXUTStatic* m_pStatic_DeJureKing = nullptr;
	CDXUTStatic* m_pStatic_CultrueValue = nullptr;
	CDXUTStatic* m_pStatic_ReligionValue = nullptr;
};
